package org.clockworkmages.games.anno1186.model.map.tactical;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

import org.clockworkmages.games.anno1186.model.GameObject;

public class GameAreaDO
		extends GameObject {

	private int x;

	private int y;

	/**
	 * Array of space-separated Strings. Each entry represents the list of
	 * TileObjects of a single Tile.
	 */
	private List<String> tiles = new ArrayList<String>();

	@XmlElement(name = "tile")
	public List<String> getTiles() {
		return tiles;
	}

	public void setTiles(List<String> tiles) {
		this.tiles = tiles;
	}

	@XmlAttribute
	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	@XmlAttribute
	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	};

}
